﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Oroboros;
using Oroboros.Objects;
using Oroboros.Save_Data;

namespace Save_Editor.Controls
{
    /// <summary>
    /// Interaction logic for ctrlDefenceData.xaml
    /// </summary>
    public partial class ctrlDefenceData : UserControl
    {
        public ctrlDefenceData()
        {
            InitializeComponent();
            string dir = @"Props\Barricades\";

            string[] models = new string[]
            {
                dir +"Barricade_Level01_Var01",
                dir +"Barricade_Level01_Var02",
                dir +"Barricade_Level01_Var03",
                dir +"Barricade_Level02_Var01",
                dir +"Barricade_Level02_Var02",
                dir +"Barricade_Level02_Var03",
                dir +"Barricade_Level03_Var01",
                dir +"Barricade_Level03_Var02",
                dir +"Barricade_Level03_Var03",
                dir +"SchoolBarricade_Level01_Var01",
                dir +"SchoolBarricade_Level01_Var02",
                dir +"SchoolBarricade_Level01_Var03",
                dir +"SchoolBarricade_Level02_Var01",
                dir +"SchoolBarricade_Level02_Var02",
                dir +"SchoolBarricade_Level02_Var03",
                dir +"SchoolBarricade_Level03_Var01",
                dir +"SchoolBarricade_Level03_Var02",
                dir +"SchoolBarricade_Level03_Var03"
            };

            cmbModel.ItemsSource = models;
        }

        public DefenceSaveData Defence
        {
            get { return (DefenceSaveData)this.DataContext; }
            set { this.DataContext = value; }
        }
    }
}
